package com.tsj.mvp.demo4;

public abstract class BasePresenter {

    public LoginView4 loginView;

    public LoginView4 getLoginView(){
        return loginView;
    }

    public void attachView(LoginView4 loginView4){
        if(loginView == null){
            this.loginView = loginView4;
        }
    }
    public void detachView(){
        if(loginView != null){
            this.loginView = null;
        }
    }
}
